package com.youi.exception;

/**
 * 	自定义异常
 * @author erdong.Chan
 *
 */
public class BusinessException extends Exception{
	
	private int errorcode;
	
	public int getErrorcode() {
		return errorcode;
	}
	public BusinessException(int errorcode,String message){
		super(message);
		this.errorcode = errorcode;
	}
	
	public BusinessException(String message,int errorcode){
		super(message);
		this.errorcode = errorcode;
	}
}
